﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BaseAddIn.Rules
{
    public sealed class ProblemAddIn
    {
        #region Fields

        private string _erro;
        private Microsoft.VisualStudio.Shell.TaskPriority _priority;
        private string _document;
        private int _line;
        private int _column;

        #endregion

        #region Properties

        public string Erro
        {
            get { return _erro; }
        }

        public Microsoft.VisualStudio.Shell.TaskPriority Priority
        {
            get { return _priority; }
        }

        public string Document
        {
            get { return _document; }
        }

        public int Line
        {
            get { return _line; }
        }

        public int Column
        {
            get { return _column; }
        }

        #endregion

        #region Construtor

        public ProblemAddIn(string erro,
                            Microsoft.VisualStudio.Shell.TaskPriority priority,
                            string document,
                            int line,
                            int column)
        {
            _erro = erro;
            _priority = priority;
            _document = document;
            _line = line;
            _column = column;
        }

        #endregion
    }
}
